/*******************************************************************************
*
* Copyright (C) 2013 - 2015, Jeffery Jiang, <china_jeffery@163.com>.
*
* THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
* EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
*
* Expect bugs
*
* Please use and enjoy. Please let me know of any bugs/mods/improvements
* that you have found/implemented and I will fix/incorporate them into this
* file.
*
*******************************************************************************/

#ifndef __IPC_MANAGER_D23F_H__
#define __IPC_MANAGER_D23F_H__

#include "types.h"

#define MAX_IPC_SERVER_ONE_PC 512


typedef struct _TotalIPC {
    IPCDetail details[MAX_IPC_SERVER_ONE_PC];

    _TotalIPC() {
    }
} TotalIPC;

DWORD QueryIPCList(IPCDetail *pList, DWORD dwMaxItem);
BOOL AddIPCDetail(const IPCDetail &detail);
BOOL RemoveIPCDetail(const char *szIPCName);
BOOL IPCNameAvailable(const char *szIPCName);

#endif